/*
 * @Author: zhw 443844039@qq.com
 * @Date: 2025-08-07 21:28:23
 * @LastEditors: zhw 443844039@qq.com
 * @LastEditTime: 2025-08-07 23:12:23
 * @Description: 科研管理相关API
 */

import request from '@/utils/request'
// 科研管理List
export function scientificResearchListApi(query) {
  return request({
    url: '/jsjx/scientificResearch/list',
    method: 'get',
    params: query
  })
};
// 科研管理ById
export function scientificResearchByIdApi(id) {
  return request({
    url: `/jsjx/scientificResearch/${id}`,
    method: 'get',
  })
};
// 科研管理Add
export function scientificResearchAddApi(data) {
  return request({
    url: '/jsjx/scientificResearch',
    method: 'post',
    data
  })
};
// 科研管理Edit
export function scientificResearchEditApi(data) {
  return request({
    url: '/jsjx/scientificResearch',
    method: 'put',
    data
  })
};
// 科研管理Del
export function scientificResearchDelApi(id) {
  return request({
    url: `/jsjx/scientificResearch/${id}`,
    method: 'delete',
  })
};

// 科研管理导出
export function scientificResearchImportApi(data) {
  return request({
    url: '/jsjx/scientificResearch/importData',
    method: 'post',
    data
  })
};